package org.rollinitiative.d20.encounter.combat.actions;

import org.rollinitiative.d20.encounter.Action;
import org.rollinitiative.d20.encounter.Combatant;
import org.rollinitiative.d20tools.arena.Arena;

public class TotalDefense implements Action
{
   public double calculate(Combatant combatant)
   {
      // Determine likelihood of performing a TotalDefense
      // Check HP, can't move, etc..

      int hp = combatant.getActor().getHP();
      int max = combatant.getActor().getMaxHP();

      return hp / max;
   }


   public void execute()
   {
      // Modify dodge bonus +4 for one round.
   }
}
